import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { DashboardComponent } from './dashboard/dashboard.component';
import { OrderComponent } from './order/order.component';

@NgModule({
  //存放组件，指令，管道的说明
  declarations: [
    AppComponent,
    DashboardComponent,
    OrderComponent
  ],
  //生命所以来模块
  imports: [
    BrowserModule,
    AppRoutingModule
  ],
  providers: [],
  //主组件
  bootstrap: [AppComponent]
})
export class AppModule { }
